<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head>
    <div data-th-replace="layout/head-top"></div>
</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInLeft">
        <div>
            <div class="row">
                <div class="pt10">
                    <div class="col-sm-12">
                        <div class="ibox float-e-margins">
                            <div class="ibox-title">
                                <h5 th:if="${recordType}==1">申请问答分成提现</h5>
                                <h5 th:if="${recordType}==2">申请问答旁听分成提现</h5>
                            </div>
                            <div class="ibox-content clearfix p-t">
                                <div class="form-horizontal">
                                    <input type="hidden" id="teacherId" th:value="${teacherMap['id']}"/>
                                    <input type="hidden" id="recordType" th:value="${recordType}"/>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right">
                                            提现账户类型
                                        </label>
                                        <div class="col-sm-8">
                                            <div class="radio i-checks">
                                                <!--
                                                <label><input name="accountType" type="radio" value="2" th:checked="${teacherMap['accountType']}==0 or ${teacherMap['accountType']}==2"/><strong>微信账户</strong></label>
                                                <label><input name="accountType" type="radio" value="1" th:checked="${teacherMap['accountType']}==1"/><strong>支付宝账号</strong></label>
                                                -->
                                                <label><input name="accountType" type="radio" value="1" checked="checked"/><strong>支付宝账号</strong></label>
                                            </div>
                                            <span class="help-block m-b-none c-red">提现账户类型，目前只支持支付宝账号</span>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div class="form-group">
                                        <label class="col-sm-2 control-label text-right">
                                            <i class="c-red">*</i>
                                            账号绑定真实名
                                        </label>
                                        <div class="col-sm-8">
                                            <input th:value="${teacherMap['realName']}" id="realName" class="form-control"/>
                                            <span class="help-block m-b-none c-red">填写的本人绑定支付账号的真实姓名！！！</span>
                                        </div>
                                    </div>
                                    <div class="hr-line-dashed"></div>
                                    <div th:text="${teacherMap['accountType']}"></div>
                                    <div th:classappend="${teacherMap['accountType']}==0 or ${teacherMap['accountType']}==1 ? '':'hide'" class="form-group zfb-box">
                                        <label class="col-sm-2 control-label text-right">
                                            <i class="c-red">*</i>
                                            支付宝账号
                                        </label>
                                        <div class="col-sm-8">
                                            <input th:value="${teacherMap['account']}" id="account" class="form-control"/>
                                            <span class="help-block m-b-none c-red">填写的支付宝账号必须是本人自己的！！！</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div data-th-replace="layout/head-footer"></div>
    <script type="text/javascript" th:src="@{{path}/common/qrcode/jquery.qrcode.min.js?v={v}(path=${staticPath}, v=${v})}"></script>
    <script th:src="@{{path}/admin/business/qa/record/cash-withdrawal.js?v={v}(path=${staticPath},v=${v})}"></script>
</body>
</html>